# Python with as 用法详解
with open("a.txt", "a") as file:
    file.write("\nPython教程")
